From: Florian Müllner Date: Thu, 28 Aug 2014 17:43:05 +0000 (+0200) Subject: grabHelper: Adjust to property name change X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2218 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d85f97c744f5e9eb5abe22a806f5678543b6290e;p=gnome-shell.git grabHelper: Adjust to property name change Commit bbfa616f275cdd41c052 renamed _ignoreRelease to _ignoreUntilRelease in some places, but not others, which broke GrabHelper.ignoreRelease(). Complete the name change to fix the fallout (e.g. app launcher menus closing on button release). --- diff --git a/js/ui/grabHelper.js b/js/ui/grabHelper.js index 4474e4921..a2a1cb55d 100644 --- a/js/ui/grabHelper.js +++ b/js/ui/grabHelper.js @@ -56,7 +56,7 @@ const GrabHelper = new Lang.Class({ this._grabStack = []; this._actors = []; - this._ignoreRelease = false; + this._ignoreUntilRelease = false; this._modalCount = 0; }, @@ -215,7 +215,7 @@ const GrabHelper = new Lang.Class({ _popGrabHelper(this); - this._ignoreRelease = false; + this._ignoreUntilRelease = false; Main.popModal(this._owner); global.sync_pointer(); @@ -228,7 +228,7 @@ const GrabHelper = new Lang.Class({ // like the ComboBoxMenu that go away on press, but need to eat // the next release event. ignoreRelease: function() { - this._ignoreRelease = true; + this._ignoreUntilRelease = true; }, // ungrab: